package com.motong.gongdan.vo.system.Erp.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
public class DepotHeadVo {

    private Long id;

    private String type;

    private String subType;

    private String defaultNumber;

    private String number;

    private Date createTime;

    private Date operTime;

    private Long organId;

    private Long creator;

    private Long accountId;

    @ApiModelProperty("收款/付款")
    private BigDecimal changeAmount;

    private BigDecimal backAmount;

    private BigDecimal totalPrice;

    private String payType;

    private String billType;

    private String remark;

    private String fileName;

    private String salesMan;

    private String accountIdList;

    private String accountMoneyList;

    private BigDecimal discount;

    private BigDecimal discountMoney;

    private BigDecimal discountLastMoney;

    private BigDecimal otherMoney;

    private BigDecimal deposit;

    private String status;

    private String purchaseStatus;

    private String source;

    private String linkNumber;

    private Long tenantId;

    private String deleteFlag;

    @ApiModelProperty("对方名称")
    private String otherName;

    @ApiModelProperty("是否付款(0 否, 1 是)")
    private Integer havePay;

    @ApiModelProperty("应付金额")
    private BigDecimal payableAmount;

    @ApiModelProperty("同步生成工单(0 否,1 是)")
    private Integer sysGenWorkOrder = 0;

    @ApiModelProperty("工单开始时间")
    private Date workOrderStartTime;

    @ApiModelProperty("工单结束时间")
    private Date workOrderEndTime;

    @ApiModelProperty("远程销售单id")
    private Integer remoteSalesId;
}